package com.example.teesystem.service;

import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.AdvancedTraining;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.entity.vo.advancedTrain.AdAnswer;
import com.example.teesystem.entity.vo.advancedTrain.AdTrainRes;
import com.example.teesystem.entity.vo.advancedTrain.AdvancedTrainUpdateVo;
import com.example.teesystem.entity.vo.advancedTrain.AdvancedTrainUploadVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
* @author 28131
* @description 针对表【t_advanced_training】的数据库操作Service
* @createDate 2022-03-31 08:09:45
*/
public interface AdvancedTrainingService extends IService<AdvancedTraining> {
    Response add(AdvancedTrainUploadVo advancedTrainUploadVo);
    
    boolean update(AdvancedTrainUpdateVo advancedTrainUpdateVo);
    
    boolean delete(List<Integer> ids);

    List<List<AdTrainRes>> get(Integer courseId);

    int getCourseId(int id);
    
    List<Integer> getIssues(Integer id);

    Response deleteAdvancedTraining(int id);


    
}
